package com.zhang.service.impl;

import com.zhang.dao.UserDao;
import com.zhang.dao.impl.UserDaoImpl;
import com.zhang.domain.User;
import com.zhang.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao = new UserDaoImpl();
    @Override
    public User findUsernameAndPassword(String Username, String password) {
        return userDao.findUsernameAndPassword(Username,password);
    }
}
